<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>{$system['name']}-后台管理</title>
    <meta name="keywords" content="{$system['keyword']}" />
    <meta name="description" content="{$system['description']}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- 基本样式 -->
    <!-- basic styles -->
    <link href="__PUBLIC__/ace/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="__PUBLIC__/ace/assets/css/font-awesome.min.css" />
    <!--[if IE 7]>
    <link rel="stylesheet" href="__PUBLIC__/ace/assets/css/font-awesome-ie7.min.css" />
    <![endif]-->
    <!-- page specific plugin styles -->
    <!-- fonts -->
    <!--<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />-->
    <!--<link rel="stylesheet" href="__PUBLIC__/ace/assets/font/font.css" />-->
    <!-- ace styles -->
    <link rel="stylesheet" href="__PUBLIC__/ace/assets/css/ace.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/ace/assets/css/ace-rtl.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/ace/assets/css/ace-skins.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/font-awesome-4.7.0/css/font-awesome.min.css">
    <!--[if lte IE 8]>
    <link rel="stylesheet" href="__PUBLIC__/ace/assets/css/ace-ie.min.css" />
    <![endif]-->
    <!-- inline styles related to this page -->
    <!-- ace settings handler -->
    <script src="__PUBLIC__/ace/assets/js/ace-extra.min.js"></script>
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="__PUBLIC__/ace/assets/js/html5shiv.js"></script>
    <script src="__PUBLIC__/ace/assets/js/respond.min.js"></script>
    <![endif]-->
    <!--[if !IE]>
    -->
    <script src="__PUBLIC__/ace/assets/js/jquery-2.0.3.min.js"></script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script src="__PUBLIC__/ace/assets/js/jquery-1.10.2.min.js"></script>
    <![endif]-->
    <!--[if !IE]>
    -->
    <script type="text/javascript">
            window.jQuery || document.write("<script src='__PUBLIC__/ace/assets/js/jquery-2.0.3.min.js'>"+"<"+"script>");</script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script type="text/javascript">
         window.jQuery || document.write("<script src='__PUBLIC__/ace/assets/js/jquery-1.10.2.min.js'>"+"<"+"script>");</script>
    <![endif]-->
    <!-- 基本样式结束 -->
    <!-- 扩展使用 -->
    <script src="__PUBLIC__/ace/assets/js/bootstrap.min.js"></script>
    <link href="__PUBLIC__/ace/admin/css/admin.css" rel="stylesheet" />
    <script type="text/javascript" src="__PUBLIC__/UEditor/ueditor.config.js"></script>
    <script type="text/javascript" src="__PUBLIC__/UEditor/ueditor.all.js"></script>
    <script type="text/javascript" src="__PUBLIC__/My97DatePicker/WdatePicker.js"></script>
    <!-- 扩展使用结束 -->
</head>
<body>
    <input type="hidden" id="controller" value="__CONTROLLER__" />
    <div class="navbar navbar-default" id="navbar">
        <script type="text/javascript">try{ace.settings.check('navbar' , 'fixed')}catch(e){}</script>
        <div class="navbar-container" id="navbar-container">
            <div class="navbar-header pull-left">
                <a href="__MODULE__" class="navbar-brand">
                    <small> <i class="icon-leaf"></i>
                        {$system['name']}-后台管理
                    </small>
                </a>
                <!-- /.brand --> </div>
            <!-- /.navbar-header -->
            <div class="navbar-header pull-right" role="navigation">
                <ul class="nav ace-nav">
                    <li class="light-blue">
                        <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                            <img class="nav-user-photo" src="__PUBLIC__/ace/assets/avatars/admin.png" alt="Jason's Photo" />
                            <span class="user-info">
                                <small>欢迎光临,</small>
                                <?=session('管理员')['username'];?></span> <i class="icon-caret-down"></i>
                        </a>
                        <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                            <li>
                            <a href="{:U('User/update', ['id'=>session('管理员')['id']])}">
                                    <i class="icon-user"></i>
                                    个人信息
                                </a>
                            </li>
                            <li>
                                <a href="__MODULE__/System/update/id/1">
                                    <i class="icon-cog"></i>
                                    系统设置
                                </a>
                            </li>

                            <li class="divider"></li>
                            <li>
                                <a href="__MODULE__/Index/logout" onclick="return confirm('是否确定要注销?');">
                                    <i class="icon-off"></i>
                                    退出
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
                <!-- /.ace-nav --> </div>
            <!-- /.navbar-header --> </div>
        <!-- /.container --> </div>

    <div class="main-container" id="main-container">
        <script type="text/javascript">
                try{ace.settings.check('main-container' , 'fixed')}catch(e){}
            </script>

        <div class="main-container-inner">
            <a class="menu-toggler" id="menu-toggler" href="#">
                <span class="menu-text"></span>
            </a>

            <div class="sidebar" id="sidebar">
                <script type="text/javascript">try{ace.settings.check('sidebar' , 'fixed')}catch(e){}</script>
                <ul class="nav nav-list">
                  <li <if condition="CONTROLLER_NAME eq 'System'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-user"></i> <span class="menu-text">系统管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'index') AND (CONTROLLER_NAME eq 'System')">class="active"</if>> <a href="{:U('system/index')}"> <i class="icon-double-angle-right"></i> 系统概况 </a> </li> <li <if condition="(ACTION_NAME eq 'update') AND (CONTROLLER_NAME eq 'System')">class="active"</if>> <a href="{:U('system/update', ['id'=>1])}"> <i class="icon-double-angle-right"></i> 系统设置 </a> </li><li <if condition="(ACTION_NAME eq 'game') AND (CONTROLLER_NAME eq 'System')">class="active"</if>i><a href="{:U('system/game', ['id'=>1])}"> <i class="icon-double-angle-right"></i> 中奖管理 </a> </li><li <if condition="(ACTION_NAME eq 'gamelist') AND (CONTROLLER_NAME eq 'System')">class="active"</if>><a href="{:U('system/gamelist')}"> <i class="icon-double-angle-right"></i> 中奖列表 </a> </li></ul></li>
                  <li <if condition="CONTROLLER_NAME eq 'GameLikes'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-list"></i> <span class="menu-text">点赞管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'GameLikes')">class="active"</if>> <a href="{:U('GameLikes/list')}"> <i class="icon-double-angle-right"></i> 点赞列表 </a> </li> <!--<li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'GameLikes')">class="active"</if>> <a href="{:U('GameLikes/create')}"> <i class="icon-double-angle-right"></i> 新增 </a> </li>--></ul> </li>
                  <li <if condition="CONTROLLER_NAME eq 'GameVotes'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-list"></i> <span class="menu-text">投票管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'GameVotes')">class="active"</if>> <a href="{:U('GameVotes/list')}"> <i class="icon-double-angle-right"></i> 投票列表 </a> </li> <!--<li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'GameVotes')">class="active"</if>> <a href="{:U('GameVotes/create')}"> <i class="icon-double-angle-right"></i> 新增 </a> </li>--></ul> </li> 
                  <li <if condition="CONTROLLER_NAME eq 'GameComments'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-list"></i> <span class="menu-text">评论管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'GameComments')">class="active"</if>> <a href="{:U('GameComments/list')}"> <i class="icon-double-angle-right"></i> 评论列表 </a> </li> <!--<li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'GameComments')">class="active"</if>> <a href="{:U('GameComments/create')}"> <i class="icon-double-angle-right"></i> 新增 </a> </li>--></ul> </li>
                <li <if condition="CONTROLLER_NAME eq 'User'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-user"></i> <span class="menu-text">用户管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="ACTION_NAME eq 'list'">class="active"</if>> <a href="{:U('user/list')}"> <i class="icon-double-angle-right"></i> 用户列表 </a> </li> <li <if condition="ACTION_NAME eq 'create'">class="active"</if>> <a href="{:U('user/create')}"> <i class="icon-double-angle-right"></i> 用户新增 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'UserGuider'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-star"></i> <span class="menu-text">导游管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'UserGuider')">class="active"</if>> <a href="{:U('UserGuider/list')}"> <i class="icon-double-angle-right"></i> 导游列表 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'UserClub'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-building"></i> <span class="menu-text">旅社管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'UserClub')">class="active"</if>> <a href="{:U('UserClub/list')}"> <i class="icon-double-angle-right"></i> 旅社列表 </a> </li> </ul> </li>
                <li <if condition="CONTROLLER_NAME eq 'UserShop'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-beer"></i> <span class="menu-text">商家用户管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'UserShop')">class="active"</if>> <a href="{:U('UserShop/list')}"> <i class="icon-double-angle-right"></i> 商家用户列表 </a> </li> </ul> </li> 
                <li <if condition="(CONTROLLER_NAME eq 'Funding') OR (CONTROLLER_NAME eq 'FundingMerge')">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-group"></i> <span class="menu-text">筹单管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Funding')">class="active"</if>> <a href="{:U('Funding/list')}"> <i class="icon-double-angle-right"></i> 筹单列表 </a> </li> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'FundingMerge')">class="active"</if>> <a href="#" onclick="alert('请从筹单列表选择筹单进入!');"> <i class="icon-double-angle-right"></i> 合单列表 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'CustomizedGuider'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-star"></i> <span class="menu-text">定制导游订单管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'CustomizedGuider')">class="active"</if>> <a href="{:U('CustomizedGuider/list')}"> <i class="icon-double-angle-right"></i> 定制导游订单列表 </a> </li></ul> </li>
                <li <if condition="CONTROLLER_NAME eq 'CustomizedTravel'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-globe"></i> <span class="menu-text">定制旅游订单管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'CustomizedTravel')">class="active"</if>> <a href="{:U('CustomizedTravel/list')}"> <i class="icon-double-angle-right"></i> 定制旅游订单列表 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'Tourist'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-coffee"></i> <span class="menu-text">游客管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Tourist')">class="active"</if>> <a href="{:U('Tourist/list')}"> <i class="icon-double-angle-right"></i> 游客列表 </a> </li> <li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'Tourist')">class="active"</if>> <a href="{:U('Tourist/create')}"> <i class="icon-double-angle-right"></i> 游客新增 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'Ad'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-film"></i> <span class="menu-text">广告管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Ad')">class="active"</if>> <a href="{:U('Ad/list')}"> <i class="icon-double-angle-right"></i> 广告列表 </a> </li> <li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'Ad')">class="active"</if>> <a href="{:U('Ad/create')}"> <i class="icon-double-angle-right"></i> 广告新增 </a> </li></ul> </li>

               <li <if condition="CONTROLLER_NAME eq 'Notice'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-bullhorn"></i> <span class="menu-text">通知管理 </span> 
                <php>
                    $noticeCount = D('Notice')->where(['receive_user_id'=>1, 'state'=>'未读'])->count();
                </php>
                <if condition="$noticeCount neq 0">
                <span class="label label-warning">{$noticeCount}</span> 
                </if>
                <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Notice')">class="active"</if>> <a href="{:U('Notice/list')}"> <i class="icon-double-angle-right"></i> 通知列表 </a> </li> <li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'Notice')">class="active"</if>> <a href="{:U('Notice/create')}"> <i class="icon-double-angle-right"></i> 通知新增 </a> </li></ul> </li>
                <li <if condition="CONTROLLER_NAME eq 'CallRecord'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-exchange"></i> <span class="menu-text">呼叫记录管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'CallRecord')">class="active"</if>> <a href="{:U('CallRecord/list')}"> <i class="icon-double-angle-right"></i> 呼叫记录列表 </a> </li> <li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'CallRecord')">class="active"</if>> <a href="{:U('CallRecord/create')}"> <i class="icon-double-angle-right"></i> 呼叫记录新增 </a> </li></ul> </li>
                <li <if condition="CONTROLLER_NAME eq 'Contract'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-file"></i> <span class="menu-text">合同管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Contract')">class="active"</if>> <a href="{:U('Contract/list')}"> <i class="icon-double-angle-right"></i> 合同列表 </a> </li> </ul> </li>
                <li <if condition="CONTROLLER_NAME eq 'Insurance'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-food"></i> <span class="menu-text">保险管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Insurance')">class="active"</if>> <a href="{:U('Insurance/list')}"> <i class="icon-double-angle-right"></i> 保险列表 </a> </li> <li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'Insurance')">class="active"</if>> <a href="{:U('Insurance/create')}"> <i class="icon-double-angle-right"></i> 保险新增 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'InsuranceOrder'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-lemon"></i> <span class="menu-text">保险订单管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'InsuranceOrder')">class="active"</if>> <a href="{:U('InsuranceOrder/list')}"> <i class="icon-double-angle-right"></i> 保险订单列表 </a> </li> <li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'InsuranceOrder')">class="active"</if>> <a href="{:U('InsuranceOrder/create')}"> <i class="icon-double-angle-right"></i> 保险订单新增 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'Region'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-globe"></i> <span class="menu-text">地区管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Region')">class="active"</if>> <a href="{:U('Region/list')}"> <i class="icon-double-angle-right"></i> 地区列表 </a> </li> <li <if condition="(ACTION_NAME eq 'create') AND (CONTROLLER_NAME eq 'Region')">class="active"</if>> <a href="{:U('Region/create')}"> <i class="icon-double-angle-right"></i> 地区新增 </a> </li></ul> </li>
                <li <if condition="CONTROLLER_NAME eq 'Comment'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-envelope-alt"></i> <span class="menu-text">评价管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Comment')">class="active"</if>> <a href="{:U('Comment/list')}"> <i class="icon-double-angle-right"></i> 评价列表 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'Complaint'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-envelope"></i> <span class="menu-text">投诉管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Complaint')">class="active"</if>> <a href="{:U('Complaint/list')}"> <i class="icon-double-angle-right"></i> 投诉列表 </a> </li></ul> </li> 
                <li <if condition="CONTROLLER_NAME eq 'Refund'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-exclamation-sign"></i> <span class="menu-text">退款管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Refund')">class="active"</if>> <a href="{:U('Refund/list')}"> <i class="icon-double-angle-right"></i> 退款列表 </a> </li></ul> </li> 
                
                <li <if condition="CONTROLLER_NAME eq 'Withdraw'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-yen"></i> <span class="menu-text">提现管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Withdraw')">class="active"</if>> <a href="{:U('Withdraw/list')}"> <i class="icon-double-angle-right"></i> 提现列表 </a> </li> </ul> </li> 

                <li <if condition="CONTROLLER_NAME eq 'Finance'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-exchange"></i> <span class="menu-text">财务管理 </span> <b class="arrow icon-angle-down"></b> </a> 
                  <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'Finance')">class="active"</if>> <a href="{:U('Finance/list')}"> <i class="icon-double-angle-right"></i> 财务列表 </a> </li> 
                   <li <if condition="(ACTION_NAME eq 'guiderinlist') AND (CONTROLLER_NAME eq 'Finance')">class="active"</if>> <a href="{:U('Finance/guiderinlist')}"> <i class="icon-double-angle-right"></i> 导游收入列表 </a> </li> 
                   <li <if condition="(ACTION_NAME eq 'custominlist') AND (CONTROLLER_NAME eq 'Finance')">class="active"</if>> <a href="{:U('Finance/custominlist')}"> <i class="icon-double-angle-right"></i> 订单收入列表 </a> </li> 
                   <li <if condition="(ACTION_NAME eq 'fundinginlist') AND (CONTROLLER_NAME eq 'Finance')">class="active"</if>> <a href="{:U('Finance/fundinginlist')}"> <i class="icon-double-angle-right"></i> 筹单收入列表 </a> </li> 
                   <li <if condition="(ACTION_NAME eq 'guideroutlist') AND (CONTROLLER_NAME eq 'Finance')">class="active"</if>> <a href="{:U('Finance/guideroutlist')}"> <i class="icon-double-angle-right"></i> 导游支出列表 </a> </li> 
                   <li <if condition="(ACTION_NAME eq 'customoutlist') AND (CONTROLLER_NAME eq 'Finance')">class="active"</if>> <a href="{:U('Finance/customoutlist')}"> <i class="icon-double-angle-right"></i> 订单支出列表 </a> </li> 
                   <li <if condition="(ACTION_NAME eq 'fundingoutlist') AND (CONTROLLER_NAME eq 'Finance')">class="active"</if>> <a href="{:U('Finance/fundingoutlist')}"> <i class="icon-double-angle-right"></i> 筹单支出列表 </a> </li> 
                   <li <if condition="(ACTION_NAME eq 'totallist') AND (CONTROLLER_NAME eq 'Finance')">class="active"</if>> <a href="{:U('Finance/totallist')}"> <i class="icon-double-angle-right"></i> 财务报表总表 </a> 
                   </li>
                 </ul> 
                </li> 
                <li <if condition="CONTROLLER_NAME eq 'CreditRecord'">class="active"</if>> <a href="#" class="dropdown-toggle"> <i class="icon-credit-card"></i> <span class="menu-text">积分管理 </span> <b class="arrow icon-angle-down"></b> </a> <ul class="submenu"> <li <if condition="(ACTION_NAME eq 'list') AND (CONTROLLER_NAME eq 'CreditRecord')">class="active"</if>> <a href="{:U('CreditRecord/list')}"> <i class="icon-double-angle-right"></i> 积分列表 </a> </li> </ul> </li> 

            </ul>
            <!-- /.nav-list -->
            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
            </div>
            <script type="text/javascript">try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}</script>
        </div>
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <script type="text/javascript">try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}</script>

                <ul class="breadcrumb">
                    <li>
                        <i class="{$modelIcon}"></i>
                        <a href="{:U('list')}">{$modelName}管理</a>
                    </li>
                    <li class="active">{$modelName}{$crumbsMap[ACTION_NAME]}</li>
                </ul>
                <!-- .breadcrumb --> </div>
            <div class="page-content">
                <div class="page-header">
                    <h1>{$modelName}{$crumbsMap[ACTION_NAME]}</h1>
                </div>
                <!-- /.page-header -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
